<div>
    <nz-spin [nzSpinning]="isSpinning" [nzTip]="'正在初始化模块信息...'">
      <section class="in-index" *ngIf="viewType==0 ">
        <!--<p class="title">-->
          <!--<span>{{componentConfig.ModuleCaption}}</span>-->
        <!--</p>-->
        <div class="table-operations" style="margin: 16px 0;padding: 0 2%;">

          <button nz-button (click)="getEntityList()" [nzLoading]="loadingData">
            <i class="anticon anticon-reload"></i>
            <span>刷新</span>
          </button>
        </div>
        <nz-card nzHoverable style="width:240px" class="drillcard"  title="{{item.drillRecordName}}" [nzLoading]="loadingData" *ngFor="let item of listEntities.entities" nzTitle="{{item.drillRecordName}}"
          [nzActions]="[actionSetting,actionDelete]">
          <p> 学生姓名： {{item.studentName}}<br>
            创建时间： {{item.creationTime|date:'yyyy-MM-dd'}}<br>
          </p>

          <ng-template #actionSetting>
            <a [href]="httpService.IP_PORT+item.reportUrl">下载报告</a>
          </ng-template>
          <ng-template #actionDelete>
            <span (click)="editScore(item.id)">打分</span>
            <!-- <i *ngIf="item.creatorId==item.thisUserId" class="anticon anticon-delete" (click)="deleteDrill(item.id)"></i> -->
          </ng-template>

          <!-- <ng-template #actionEllipsis>
            <ul nz-menu>
              <li nz-submenu>
                <span title>
                    <i class="anticon anticon-ellipsis"></i></span>
                <ul>
                  <li nz-menu-item (click)="edit(item)"><i class="anticon anticon-edit"></i></li>
                  <li nz-menu-item (click)="delete(item)"><i class="anticon anticon-delete"></i></li>
                  <li nz-menu-item *ngIf="item.drillStatus==0" (click)="toGroup(item)"><i class="anticon anticon-user-add"></i></li>
                </ul>
              </li>
            </ul>
          </ng-template> -->
        </nz-card>

      </section>
      <nz-pagination [(nzPageIndex)]="listEntities.currentPageIndex" [(nzPageSize)]="listEntities.pageSize" [nzTotal]="listEntities.recordTotalCount"
      (nzPageIndexChange)="getEntityList()" nzShowTotal></nz-pagination>
    </nz-spin>

    </div>
